Retargetable Compilation with XSLT and Aspects

نویسندگان

  • Andreas Wagner
  • Stephan Diehl
چکیده

In this paper we show how XSLT and aspect-oriented programming can be used to implement retargetable compilers. New devices can be specified using an XML-based device specification language. A retargeting generator produces a new compiler from this specification, actually it only produces a device specific kernel which is used by the compiler. Both the retargeting generator and the generated compiler are implemented by XSLT scripts that produce Inject/J scripts which weave code into a kernel Java program. As an example we look at remotely programmable robots. Programs are sent in an XML-based programming language called roboXL over the internet to the server. A compiler on the server translates them into Java programs for the specific robot. The Java program is then transferred to and executed by the robot.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A BDD - based Frontend for Retargetable

In this paper we present a uniied frontend for retargetable compilers that performs analysis of the target processor model. Our approach bridges the gap between structural and behav-ioral processor models for retargetable compilation. This is achieved by means of instruction set extraction. The extraction technique is based on a BDD data structure which signiicantly improves control signal anal...

متن کامل

A Retargetable JIT Compiler for Java

Interpreted Java has poor performance. Therefore most Java Virtual Machines (JVM) contain a just-in-time compiler (JIT) that compiles the bytecode to the processor’s native instruction set. Most of these compilers are written in C and tightly integrated with the JVM. We describe a JIT compiler that is written in Java and retargetable to a different JVMs and CPUs.

متن کامل

Compiler-in-loop Architecture Exploration for Efficient Application Specific Embedded Processor Design

Retargetable C compilers are key tools for efficient architecture exploration for embedded processors. In this paper we describe a novel approach to retargetable compilation based on LISA, an industrial processor modeling language for efficient application-specific instruction set processor (ASIP) design. In order to circumvent the well-known trade-off between flexibility and code quality in re...

متن کامل

An Executable Intermediate Representation for Retargetable Compilation and High-Level Code Optimization

Due to fast time-to-market and IP reuse requirements, an increasing amount of the functionality of embedded HW/SW systems is implemented in software. As a consequence, software programming languages like C play an important role in system specification, design, and validation. Besides many other advantages, the C language offers executable specifications, with clear semantics and high simulatio...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006